package service.impl;

import mapper.BackendUserMapper;
import org.springframework.stereotype.Service;
import pojo.BackendUser;
import service.BackendUserService;

import javax.annotation.Resource;


@Service("backendUserService")
public class BackendUserServiceImpl implements BackendUserService {
    @Resource
    private BackendUserMapper backendUserMapper;

    //管理员登陆
    public BackendUser loginBackendUser(String userCode, String userPassword){
        return backendUserMapper.loginBackendUser(userCode,userPassword);
    }

}
